createRegistrar

@ApiStatus.Experimental
abstract fun <T> createRegistrar(namespace: String, registry: Registry<T>): Registrar<T>

Creates a Registrar wrapper for registering objects in a platform-agnostic way.

Return

Registrar platform-agnostic wrapper that registers objects

Author

fzzyhmstrs

Since

0.5.9

Parameters

namespace

String namespace to register objects under

registry

Registry registry to wrap